//@ check-pass
fn main() {
    match (0i8, 0i8) {
        (0, _) => {}
        (..=-1, ..=0) => {}
        (1.., 0..) => {}
        (1.., ..=-1) | (..=-1, 1..) => {}
    }
}
